Value | Meaning |
---|---|
Never | Means that nothing will be drawed |
Always | Same as no depth test |
Less | Render if the value is less than the current depth |
LessEqual | Render if the value is less or equal than the current depth |
Greater | Render if the value is greater than the current depth |
GreaterEqual | Render if the value is greater or equal than the current depth |
Equal | Render if the value is equal against the current depth |
NotEqual | Render if the value is not equal against the current depth |
Which function should be employed whene testing the Depth/Z-Buffer